<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 800px;
            height: 600px;
            background: url('../../assets/images/border_1.png') no-repeat;
            background-size: 100% 100%;
        }

        .pox {
            width: 800px;
            height: 600px;
            border: 10px solid #ff0;
            border-image-source: url('../../assets/images/border_1.png');
            border-image-width: 46px 28px 33px 246px;
            border-image-slice: 46 28 33 246;
        }
    </style>
</head>

<body>
    <div class="box">
    </div>
    <div class="pox"></div>
</body>

</html>